package com.yangxiangrice.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yangxiangrice.mapper.SeedHoldMapper;
import com.yangxiangrice.mapper.SeedListMapper;
import com.yangxiangrice.pojo.SeedList;
import com.yangxiangrice.pojo.UserList;
import com.yangxiangrice.service.SeedListService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Description: TODO
 * @author: shixiaojian
 * @date: 2021年11月16日 17:50
 */
@Service
public class SeedListServiceImpl extends ServiceImpl<SeedListMapper, SeedList> implements SeedListService {
    @Autowired
    SeedListMapper seedListMapper;

    @Override
    public IPage<SeedList> seletePage(IPage<SeedList> page, QueryWrapper wrapper) {
        return seedListMapper.selectPage(page, wrapper);
    }

    @Override
    public Integer getSeedNum() {
        return seedListMapper.getSeedNum();
    }
}
